package com.blockmeta.bbs.immodule.net.api;

import com.blockmeta.bbs.businesslibrary.net.pojo.BaseImResponse;
import com.blockmeta.bbs.immodule.net.pojo.TemporaryFriendsResponse;

import java.util.List;

import io.reactivex.Flowable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * @author AirThor
 * @date 2019/4/12.
 * 获取临时会话关系列表
 */
public interface TemporaryFriendApi {
    /**
     * @see "https://gitee.com/btc8/appserver/wikis/IM?sort_id=1348722#315-%E8%8E%B7%E5%8F%96%E6%88%91%E7%9A%84%E4%B8%B4%E6%97%B6%E4%BC%9A%E8%AF%9D%E5%85%B3%E7%B3%BB-usergetmytemprelation-get"
     *@param userId uid
     */
    @GET("im/user/getMyTempRelation")
    Flowable<BaseImResponse<List<TemporaryFriendsResponse>>> getTemporaryFriend(@Query("userId") int userId);
}
